package com.baoming.util;

import javax.servlet.http.HttpServletRequest;
 
public class PageBeanUtil {
	public static void setPage(PageInfo pageInfo,HttpServletRequest request){
		PageBean pageBean = pageInfo.getPageBean() ;  
		pageBean.setUrl(request.getRequestURL()+"") ; 
		request.setAttribute("pageBean", pageBean) ; 
	}

	 
}
